﻿@model WI.CandidateManager.Common.Data.Entities.Candidate

@{
    ViewBag.Title = "Detail";
}

<h2>Detail</h2>

<table class="bordered">
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.FullName)</td>
        <td>@Html.DisplayFor(model => model.FullName, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.ShortName)</td>
        <td>@Html.DisplayFor(model => model.ShortName, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.Email)</td>
        <td>@Html.DisplayFor(model => model.Email, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.Phone)</td>
        <td>@Html.DisplayFor(model => model.Phone, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.RegisterDate)</td>
        <td>@Html.DisplayFor(model => model.RegisterDate, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">@Html.DisplayNameFor(model => model.Gender)</td>
        <td>@Html.DisplayFor(model => model.Gender, new { @class = "" })</td>
    </tr>
    <tr>
        <td class="vertical-header">Attachments</td>
        <td>@Html.ActionLink("Attachments (" + Model.Attachment.Count + ")", "List", "Attachment", new { area = "", entityID = Model.Id, returnUrl = this.Request.RawUrl }, new { @class = "common-btn BlueColor" })</td>
    </tr>
</table>

<p>
    @Html.ActionLink("Back", "List", "Candidates", new { @class = "common-btn-large BlueColor" })
</p>
